<%@ page import="com.mastercard.labs.RewardPoint" %>



<div class="fieldcontain ${hasErrors(bean: rewardPointInstance, field: 'point', 'error')} required">
	<label for="point">
		<g:message code="rewardPoint.point.label" default="Point" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="point" required="" value="${fieldValue(bean: rewardPointInstance, field: 'point')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: rewardPointInstance, field: 'user', 'error')} required">
	<label for="user">
		<g:message code="rewardPoint.user.label" default="User" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="user" name="user.id" from="${com.mastercard.labs.User.list()}" optionKey="id" required="" value="${rewardPointInstance?.user?.id}" class="many-to-one"/>
</div>

